<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkCellEditable</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 3 参考手册">
<link rel="up" href="TreeWidgetObjects.html" title="树、列表和图标网格构件">
<link rel="prev" href="gtk3-GtkCellRenderer.html" title="GtkCellRenderer">
<link rel="next" href="gtk3-GtkCellRendererAccel.html" title="GtkCellRendererAccel">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gtk3-GtkCellRenderer.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="TreeWidgetObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 3 参考手册</th>
<td><a accesskey="n" href="gtk3-GtkCellRendererAccel.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gtk3-GtkCellEditable.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gtk3-GtkCellEditable.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gtk3-GtkCellEditable"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gtk3-GtkCellEditable.top_of_page"></a>GtkCellEditable</span></h2>
<p>GtkCellEditable — Interface for widgets which can are used for editing
 cells</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gtk3-GtkCellEditable.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

                    <a class="link" href="gtk3-GtkCellEditable.html#GtkCellEditable" title="GtkCellEditable">GtkCellEditable</a>;
struct              <a class="link" href="gtk3-GtkCellEditable.html#GtkCellEditableIface" title="struct GtkCellEditableIface">GtkCellEditableIface</a>;
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkCellEditable.html#gtk-cell-editable-start-editing" title="gtk_cell_editable_start_editing ()">gtk_cell_editable_start_editing</a>     (<em class="parameter"><code><a class="link" href="gtk3-GtkCellEditable.html#GtkCellEditable" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> *cell_editable</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkCellEditable.html#gtk-cell-editable-editing-done" title="gtk_cell_editable_editing_done ()">gtk_cell_editable_editing_done</a>      (<em class="parameter"><code><a class="link" href="gtk3-GtkCellEditable.html#GtkCellEditable" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> *cell_editable</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkCellEditable.html#gtk-cell-editable-remove-widget" title="gtk_cell_editable_remove_widget ()">gtk_cell_editable_remove_widget</a>     (<em class="parameter"><code><a class="link" href="gtk3-GtkCellEditable.html#GtkCellEditable" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> *cell_editable</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gtk3-GtkCellEditable.description"></a><h2>Description</h2>
<p>
The <a class="link" href="gtk3-GtkCellEditable.html#GtkCellEditable" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> interface must be implemented for widgets to be usable
when editing the contents of a <a class="link" href="gtk3-GtkTreeView.html#GtkTreeView" title="struct GtkTreeView"><span class="type">GtkTreeView</span></a> cell.
</p>
</div>
<div class="refsect1">
<a name="gtk3-GtkCellEditable.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkCellEditable"></a><h3>GtkCellEditable</h3>
<pre class="programlisting">typedef struct _GtkCellEditable GtkCellEditable;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkCellEditableIface"></a><h3>struct GtkCellEditableIface</h3>
<pre class="programlisting">struct GtkCellEditableIface {
  GTypeInterface g_iface;

  /* signals */
  void (* editing_done)  (GtkCellEditable *cell_editable);
  void (* remove_widget) (GtkCellEditable *cell_editable);

  /* virtual table */
  void (* start_editing) (GtkCellEditable *cell_editable,
			  GdkEvent        *event);
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-cell-editable-start-editing"></a><h3>gtk_cell_editable_start_editing ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_cell_editable_start_editing     (<em class="parameter"><code><a class="link" href="gtk3-GtkCellEditable.html#GtkCellEditable" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> *cell_editable</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
<p>
Begins editing on a <em class="parameter"><code>cell_editable</code></em>. <em class="parameter"><code>event</code></em> is the <a href="../gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that began 
the editing process. It may be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, in the instance that editing was 
initiated through programatic means.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cell_editable</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkCellEditable.html#GtkCellEditable" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td>A <a href="../gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-cell-editable-editing-done"></a><h3>gtk_cell_editable_editing_done ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_cell_editable_editing_done      (<em class="parameter"><code><a class="link" href="gtk3-GtkCellEditable.html#GtkCellEditable" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> *cell_editable</code></em>);</pre>
<p>
Emits the <span class="type">"editing-done"</span> signal.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>cell_editable</code></em> :</span></p></td>
<td>A <span class="type">GtkTreeEditable</span>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-cell-editable-remove-widget"></a><h3>gtk_cell_editable_remove_widget ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_cell_editable_remove_widget     (<em class="parameter"><code><a class="link" href="gtk3-GtkCellEditable.html#GtkCellEditable" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> *cell_editable</code></em>);</pre>
<p>
Emits the <span class="type">"remove-widget"</span> signal.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>cell_editable</code></em> :</span></p></td>
<td>A <span class="type">GtkTreeEditable</span>
</td>
</tr></tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="gtk3-GtkCellEditable.see-also"></a><h2>See Also</h2>
<a class="link" href="gtk3-GtkEntry.html#GtkEntry" title="struct GtkEntry"><span class="type">GtkEntry</span></a>, <a class="link" href="gtk3-GtkCellRenderer.html#GtkCellRenderer" title="struct GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>